package com.hzlx.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 账户流水表
 * @TableName t_account_flow
 */
@Data
public class AccountFlow implements Serializable {
    /**
     * ID
     */
    private Integer id;

    /**
     * 账户ID
     */
    private Integer accountId;

    /**
     * 交易前金额
     */
    private BigDecimal beforeBalance;

    /**
     * 交易金额
     */
    private BigDecimal money;

    /**
     * 交易后金额
     */
    private BigDecimal afterBalance;

    /**
     * 交易类型1 房东收益 2 加盟商收益  3 提现金额
     */
    private Integer type;

    /**
     * 入住流水ID
     */
    private String checkInFlowNo;

    /**
     * 提现记录ID
     */
    private String withdrawalNo;

    /**
     * 
     */
    private Date createTime;

    /**
     * 
     */
    private Date updateTime;

    /**
     * 删除标识 1正常 0 已删除
     */
    private Integer deleted;

    private static final long serialVersionUID = 1L;
}